import { get,post } from '@/utils/request'

export function getRoleList() {
	return get('/role/getRoleList')
}

export function createRole(data) {
	return post('/role/createRole',data)
}

export function updateRole(data) {
	return get('/role/updateRole',data)
}

export function deleteRole(data) {
	return get('/role/deleteRole',data)
}

export function getRoleById(data) {
	return get('/role/getRoleById',data)
}